#include"vector.h"

int main()
{
	fu::vector<int> v;

	fu::vector<int> v1(5, 8);

	fu::vector<int> v2(v1);

	v2.push_back(9);
	v2.erase(v2.begin() + 5);

	v2.reserve(100);
	v2.resize(2);
	v2.pop_back();
	v2.insert(v2.begin(), 3);

	v2.swap(v1);

	for (auto ch : v2)
	{
		cout << ch << " ";
	}
	cout << endl;

	cout << v2.size() << endl;
	cout << v2.capacity() << endl;

	return 0;
}